//
//  PYStructure.h
//  pyfmdbdemo
//
//  Created by terry peng on 15/12/2.
//  Copyright © 2015年 pengyong. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, MHStructureType) {
    MHStructureTypeAutoInc = 0,//AUTO INCREAMNT && PRIMARY KEY INT
    MHStructureTypePrimaryInt = 1,//PRIMARY KEY INT
    MHStructureTypePrimaryText = 2,//PRIMARY KEY TEXT
    MHStructureTypeNormalInt = 3,//COMMON COLUMN KEY INT
    MHStructureTypeNormalText = 4,//COMMON COLUMN KEY TEXT
    MHStructureTypeNormaAllowNullText = 5,
    MHStructureTypeNormaAllowNullInt = 6,
    MHStructureTypeNormalBolb = 7,//COMMON COLUMN KEY INT
    MHStructureTypeNormaAllowNullBolb = 8,
};
@interface MHStructure : NSObject

@property(nonatomic,strong)NSMutableArray *structureArray;
@property(nonatomic,strong)NSDictionary *structureDictory;

-(void)addWithField:(NSString *)field andType:(MHStructureType)type;
-(NSArray *)fieldsArray;
-(NSString *)fieldsString;

@end

